﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using TheOutfield.UmbExt.UniversalMediaPicker.Interfaces;
using umbraco.cms.businesslogic.datatype;

namespace TheOutfield.UmbExt.UniversalMediaPicker.Providers
{
    public abstract class AbstractProvider : IProvider
    {
        public abstract string Alias { get; }
        public string Config { get; protected set; }
        public abstract IConfigControl ConfigControl { get; }
        public abstract ICreateControl CreateControl { get; }

        public abstract IList<MediaItem> GetMediaItems(string parentId);
        public abstract MediaItem GetMediaItemById(string id);

        public AbstractProvider()
        { }

        public AbstractProvider(string config)
        {
            Config = config;
        }
    }
}